<?php
class Shop_Model_Customer extends Zend_Db_Table
 {
       	protected $_name="customer";
       	protected $_primary = 'id';
        
 		public function insertCustomer($arrParam = null, $option = null)
	  	{	
	  		$row = $this->fetchNew();		  	
			$row->displayname       =$arrParam['displayname'];						
			$row->email       =$arrParam['email'];
			$row->phone       =$arrParam['phone'];
			$row->address       =$arrParam['address'];
			$row->district       =$arrParam['district'];
			$row->province       =$arrParam['province'];
			$row->createdate       =date('Y-m-d h:i:s',time());
			
		  	return $row->save();
	  	}
        
 }